/*    */ package com.cr.business.service.impl;
/*    */ 
/*    */ import com.cr.business.domain.CrAmountFlow;
/*    */ import com.cr.business.mapper.CrAmountFlowMapper;
/*    */ import com.cr.business.service.ICrAmountFlowService;
/*    */ import com.cr.common.core.text.Convert;
/*    */ import com.cr.common.utils.MyDateUtils;
/*    */ import java.util.List;
/*    */ import org.springframework.beans.factory.annotation.Autowired;
/*    */ import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service
/*    */ public class CrAmountFlowServiceImpl implements ICrAmountFlowService {
/*    */   @Autowired
/*    */   private CrAmountFlowMapper crAmountFlowMapper;
/*    */   
/*    */   public CrAmountFlow selectCrAmountFlowByRecordId(Long recordId) {
/* 33 */     return this.crAmountFlowMapper.selectCrAmountFlowByRecordId(recordId);
/*    */   }
/*    */   
/*    */   public List<CrAmountFlow> selectCrAmountFlowList(CrAmountFlow crAmountFlow) {
/* 45 */     return this.crAmountFlowMapper.selectCrAmountFlowList(crAmountFlow);
/*    */   }
/*    */   
/*    */   public int insertCrAmountFlow(CrAmountFlow crAmountFlow) {
/* 57 */     crAmountFlow.setCreateTime(MyDateUtils.getNowDate());
/* 58 */     return this.crAmountFlowMapper.insertCrAmountFlow(crAmountFlow);
/*    */   }
/*    */   
/*    */   public int updateCrAmountFlow(CrAmountFlow crAmountFlow) {
/* 70 */     crAmountFlow.setUpdateTime(MyDateUtils.getNowDate());
/* 71 */     return this.crAmountFlowMapper.updateCrAmountFlow(crAmountFlow);
/*    */   }
/*    */   
/*    */   public int deleteCrAmountFlowByRecordIds(String recordIds) {
/* 83 */     return this.crAmountFlowMapper.deleteCrAmountFlowByRecordIds(Convert.toStrArray(recordIds));
/*    */   }
/*    */   
/*    */   public int deleteCrAmountFlowByRecordId(Long recordId) {
/* 95 */     return this.crAmountFlowMapper.deleteCrAmountFlowByRecordId(recordId);
/*    */   }
/*    */ }


/* Location:              D:\tmp\creditorRights-admin\BOOT-INF\lib\creditorRights-business-4.7.0.jar!\com\cr\business\service\impl\CrAmountFlowServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */